package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.PageResponseVO;
import com.heima.model.wemedia.dtos.WmNewsDownOrUpDto;
import com.heima.model.wemedia.dtos.WmNewsDto;
import com.heima.model.wemedia.dtos.WmNewsPageReqDto;
import com.heima.model.wemedia.pojos.WmChannel;
import com.heima.model.wemedia.pojos.WmNews;

/**
 * @author brianxia
 * @version 1.0
 * @date 2022-11-13 9:51
 */
public interface NewsService extends IService<WmNews> {
    PageResponseResult findNews(WmNewsPageReqDto dto);

    PageResponseVO findNews2(WmNewsPageReqDto dto);

    void submit(WmNewsDto dto);

    void downOrUp(WmNewsDownOrUpDto dto);
}
